<template>
	<view class="address-box">
		<view class="address df aic">
			<nmr-icon name="dizhi2" size="24" color="#47A848"></nmr-icon>
			<view class="ml36 address-info"   @click="handleAddress">
				<view class="c3 fs30">
					<text class="fw5">{{addressInfo.receiver||''}}</text> <text class="c6 fs26 ml46">{{addressInfo.phone||''}}</text>
				</view>
				<view class="mt17 fs26 c3">
					{{addressInfo.province}}{{addressInfo.city}}{{addressInfo.area}}{{addressInfo.receiveAddress}}{{addressInfo.homeNumber}}  {{addressInfo.shopName}}
				</view>
			</view>
			<nmr-icon @click="handleAddress" name="xiangyou1" size="28" style="margin-left: auto;" color="#666666"></nmr-icon>
		</view>
		<u-line margin="25rpx 0"></u-line>
		<!-- <view class="time app-theme fs26 u-text-center fw5">
			预计{{time||''}}送达
		</view> -->
	</view>
</template>

<script>
	export default{
		props:['addressInfo',"time"],
		methods:{
			handleAddress(){
				uni.navigateTo({
					url:'/pages/my/address/address?confrim=true'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.address-box{
		background: #FFFFFF;
		border-radius: 20rpx 20rpx 20rpx 20rpx;
		padding: 20rpx;
		margin: 30rpx;
		.address-info{
			width: 499rpx;
		}
	}
</style>